/* Helpers */
.frame-container {
    max-block-size: var(--s5);
}


/* Padding */
.p-none {
    padding: 0;
}

.p-0 {
    padding: var(--s0);
}

.p-1 {
    padding: var(--s1);
}

.p-2 {
    padding: var(--s2);
}

.p-3 {
    padding: var(--s3);
}

/* Margin */
.m-0 {
    margin: var(--s0);
}

/* Animation */
.slide-in-right {
    --duration: 0.5s;
    right: 0;
    transition: right var(--duration) ease-in;
}

.slide-in-left.active {
    --duration: 0.5s;
    right: 100%;
    transition: right var(--duration) ease-in;
}

.trans-delay {
    transition-delay: 500ms;
}

/* Overlay */
.overlay {
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 500;
    background: rgba(0, 0, 0, 0.25);
}

/* Sizing */
.min-content {
    inline-size: min-content;
}

/* Layout */
.flex {
    display: flex;
}

.flex-end {
    justify-content: flex-end;
}

/* Display */
.visible {
    --duration: 0.1s;
    visibility: visible;
    opacity: 1;
    transition: opacity var(--duration) ease-in;
}

.hidden {
    --duration: 0.1s;
    visibility: hidden;
    opacity: 0;
    transition: visibility var(--duration), opacity var(--duration) ease-out;
}

.show-break-sm {
    display: none;
}

.inline {
    display: inline;
}

/* Position */
.relative {
    position: relative;
}

/* Alignment */
.center-full {
    display: flex;
    align-items: center;
    justify-content: center;
}

.justify-center {
    justify-content: center;
}

.align-middle {
    vertical-align: middle;
}

.align-base {
    align-items: baseline;
}

.align-center {
    align-items: center;
}

/* Float */
.float-right {
    float: right;
}

.float-left {
    float: left;
}

.float-start {
    float: inline-start;
}

.float-end {
    float: inline-end;
}

/* Text */
.text-nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.text-nodec {
    text-decoration: none;
}

.text-lightest {
    font-weight: 100;
}

.text-lighter {
    font-weight: 200;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-semibold {
    font-weight: 500;
}

.text-semibolder {
    font-weight: 600;
}

.text-bold {
    font-weight: 700;
}

.text-bolder {
    font-weight: 800;
}

.text-boldest {
    font-weight: 900;
}

.text-italic {
    font-style: italic;
}

.text-xs {
    font-size: 0.5em;
}

.text-sm {
    font-size: 0.75em;
}

.text-em {
    font-size: 1em;
}

.text-md {
    font-size: 1.25em;
}

.text-lg {
    font-size: 1.5em;
}

.text-xl {
    font-size: 1.75em;
}

.text-2xl {
    font-size: 2em;
}

.text-underline {
	text-decoration: underline;
}

/* Fonts */
.font-inter {
    font-family: "Inter", sans-serif;
}

.font-iA {
    font-family: "iA";
}

/* Gradient */
.grad-red-down {
    background: rgb(255, 53, 53);
    background: linear-gradient(180deg, rgba(255, 53, 53, 0.45) 0%, rgba(248, 248, 248, 0.7) 100%);
}

.grad-red-right {
    background: rgb(255, 53, 53);
    background: linear-gradient(90deg, rgba(255, 53, 53, 1) 1%, rgba(248, 248, 248, 1) 100%);
}

/* Color */
.color-white {
    color: var(--white);
}

.color-green {
    color: var(--green);
}

.color-accent {
    color: var(--accent);
}

.color-accent-light {
    color: var(--accent-light);
}

.color-accent-dark {
    color: var(--accent-dark);
}

.color-accent-darker {
    color: var(--accent-darker);
}

.color-red {
    color: var(--red);
}

.color-red-dark {
    color: var(--red-dark);
}

.color-charcoal {
    color: var(--charcoal);
}

.color-charcoal-dark {
    color: var(--charcoal-dark);
}

.color-charcoal-light {
    color: var(--charcoal-light);
}

.bg-white {
    background-color: var(--white);
}

.bg-accent-light {
    background-color: var(--accent-light);
}

.bg-accent {
    background-color: var(--accent);
}

.bg-accent-dark {
    background-color: var(--accent-dark);
}

.bg-red {
    background-color: var(--red);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

.bg-charcoal-light {
    background-color: var(--charcoal-light);
}

/* Borders */
.br {
    border: var(--default-border);
}

.br-rounded {
    border-radius: var(--default-radius);
}

.br-accent {
    border-color: var(--accent);
}

/* Shadows */
.text-shadow-sm {
    text-shadow: 1px 1px 2px var(--charcoal-light);
}

.text-shadow-xs {
    text-shadow: 1px 1px 1px var(--charcoal-light);
}

.shadow {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.shadow-xs,
.br-shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.shadow-sm {
    box-shadow: rgba(0, 0, 0, 0.16) 1px 1px 4px;
}

.shadow-inner-lg {
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

/* Cursor */
.pointer {
    cursor: pointer;
}

/* Hover */
.hover-cursor:hover {
    cursor: default;
}

.hover-underline:hover {
    text-decoration: underline;
}

.hover-red:hover {
    color: var(--red);
}

/* Lines */
.line-dashed {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

/* Z-Index */
.overlay-index {
    position: relative;
    z-index: var(--overlay-index);
}

/* Loading */
.loader {
    inline-size: var(--s0);
    block-size: var(--s0);
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    background: var(--red);
    box-shadow: -24px 0 #FFF, 24px 0 #FFF;
    box-sizing: border-box;
    animation: shadowPulse 1s linear infinite;
}

@keyframes shadowPulse {
    33% {
        background: var(--red);
        box-shadow: -24px 0 #FF3D00, 24px 0 #FFF;
    }

    66% {
        background: var(--red-dark);
        box-shadow: -24px 0 #FFF, 24px 0 #FFF;
    }

    100% {
        background: var(--red);
        box-shadow: -24px 0 #FFF, 24px 0 #FF3D00;
    }
}
